import request from '@/util/request';

export const getTopic = function(param){
	var url = '/share/getTopic';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getAdjacentNav = function(param){
	var url = '/configure/getAdjacentNav';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

// 四点半课堂
export const getAdjacentSchool = function(param){
	var url = '/staff/getAdjacentSchool';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getAdjacentSchoolDetail = function(param){
	var url = '/staff/getAdjacentSchoolDetail';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const examineAdjacentSchool = function(param){
	var url = '/staff/examineAdjacentSchool';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const searchAdjacentSchool = function(param){
	var url = '/staff/searchAdjacentSchool';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getMyAdjacentSchool = function(param){
	var url = '/staff/getMyAdjacentSchool';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

// 共享养老
export const getAdjacentOlder = function(param){
	var url = '/staff/getAdjacentOlder';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getAdjacentOlderDetail = function(param){
	var url = '/staff/getAdjacentOlderDetail';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const examineAdjacentOlder = function(param){
	var url = '/staff/examineAdjacentOlder';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const searchAdjacentOlder = function(param){
	var url = '/staff/searchAdjacentOlder';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getMyAdjacentOlder = function(param){
	var url = '/staff/getMyAdjacentOlder';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

// 共享便民
export const getAdjacentTools = function(param){
	var url = '/staff/getAdjacentTools';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const examineAdjacentTools = function(param){
	var url = '/staff/examineAdjacentTools';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const searchAdjacentTools = function(param){
	var url = '/staff/searchAdjacentTools';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const returnAdjacentTools = function(param){
	var url = '/staff/returnAdjacentTools';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const expressAdjacentTools = function(param){
	var url = '/staff/expressAdjacentTools';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getAdjacentToolsDetail = function(param){
	var url = '/staff/getAdjacentToolsDetail';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getMyAdjacentTools = function(param){
	var url = '/staff/getMyAdjacentTools';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

// 共享厨房
export const getAdjacentKitchen = function(param){
	var url = '/staff/getAdjacentKitchen';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getAdjacentKitchenDetail = function(param){
	var url = '/staff/getAdjacentKitchenDetail';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const examineAdjacentKitchen = function(param){
	var url = '/staff/examineAdjacentKitchen';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const expressAdjacentKitchen = function(param){
	var url = '/staff/expressAdjacentKitchen';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const returnAdjacentKitchen = function(param){
	var url = '/staff/returnAdjacentKitchen';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const searchAdjacentKitchen = function(param){
	var url = '/staff/searchAdjacentKitchen';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getMyAdjacentKitchen = function(param){
	var url = '/staff/getMyAdjacentKitchen';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const createLattice = function(param){
	var url = '/staff/createLattice';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getLatticeList = function(param){
	var url = '/staff/getLatticeList';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getLatticeDetail = function(param){
	var url = '/staff/getLatticeDetail';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getLatticeOrder = function(param){
	var url = '/staff/getLatticeOrder';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getLatticeOrderDetail = function(param){
	var url = '/staff/getLatticeOrderDetail';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const searchLatticeGoods = function(param){
	var url = '/staff/searchLatticeGoods';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const searchLatticeOrder = function(param){
	var url = '/staff/searchLatticeOrder';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const latticeComplete = function(param){
	var url = '/staff/latticeComplete';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const latticeSend = function(param){
	var url = '/staff/latticeSend';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const offShell = function(param){
	var url = '/staff/offShell';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}